import request from '@/utils/request'

// 查询技术分析列表
export function listEchnicalaspect(query) {
  return request({
    url: '/stock/echnicalaspect/list',
    method: 'get',
    params: query
  })
}

// 查询技术分析详细
export function getEchnicalaspect(echnicalaspectId) {
  return request({
    url: '/stock/echnicalaspect/' + echnicalaspectId,
    method: 'get'
  })
}

// 新增技术分析
export function addEchnicalaspect(data) {
  return request({
    url: '/stock/echnicalaspect',
    method: 'post',
    data: data
  })
}

// 修改技术分析
export function updateEchnicalaspect(data) {
  return request({
    url: '/stock/echnicalaspect',
    method: 'put',
    data: data
  })
}

// 删除技术分析
export function delEchnicalaspect(echnicalaspectId) {
  return request({
    url: '/stock/echnicalaspect/' + echnicalaspectId,
    method: 'delete'
  })
}
